
import React, { Component } from 'react'

import { Switch, Route, BrowserRouter, withRouter } from 'react-router-dom'
import Login from './login';
import BaseView from "@/components/baseViews"
import Main from "@/components/main"

class App extends Component {
    constructor(props, store) {
        super(props);
        console.log(store);
    }
    render() {
        return (
            <BrowserRouter>
                <Switch>
                    <Route path="/login" exact component={Login} />
                    <BaseView path="/" component={Main} />
                </Switch>
            </BrowserRouter>
        )
    }
}
export default App

